<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

</body>

<script type="text/javascript" src="js/axios.js"></script>
<script>
    axios.defaults.baseURL = 'http:localhost:3000';

    // axios.get('adata').then(function(ret){
    //   console.log(ret.data)
    // })

    // 
    async function queryData() {
        var ret = await axios.get('adata')
        console.log(ret);
    }

    queryData()
</script>

</html>